package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 电池极值次数统计
 * @author liuronglei
 * @date 2019/5/6 10:03:00
 */
public class BatteryLimitFrequency {

    private Long pid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dtime;

    private String batteryNumber;

    private Long devCode;

    private Long frequency;

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date datetime) {
        this.dtime = datetime;
    }

    public Long getFrequency() {
        return frequency;
    }

    public void setFrequency(Long frequency) {
        this.frequency = frequency;
    }

    public Long getDevCode() {
        return devCode;
    }

    public void setDevCode(Long devCode) {
        this.devCode = devCode;
    }

    public String getBatteryNumber() {
        return batteryNumber;
    }

    public void setBatteryNumber(String batteryNumber) {
        this.batteryNumber = batteryNumber;
    }

    @Override
    public String toString() {
        return "BatteryLimitFrequency{" +
                "pid=" + pid +
                ", dtime=" + dtime +
                ", batteryNumber='" + batteryNumber + '\'' +
                ", devCode=" + devCode +
                ", frequency=" + frequency +
                '}';
    }
}
